package com.rightsidetech.trade.dtos.request.integral;

import com.rightsidetech.commom.base.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class IntegralOperateRecordReq extends PageRequest implements Serializable {

    @ApiModelProperty("订单号")
    private String orderNo;

/*    @ApiModelProperty("门店名称")
    private String storeName;*/
    @ApiModelProperty("门店id")
    private Long storeId;

    @ApiModelProperty("大区id")
    private Long areaId;

    @ApiModelProperty("代理商id")
    private Long agentId;

    @ApiModelProperty("物流单号")
    private String logisticsOrderNo;

/*    @ApiModelProperty("代理商名称")
    private String agentName;

    @ApiModelProperty("大区名称")
    private String areaName;*/

    @ApiModelProperty("开始时间 yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty("结束时间 yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
